#ifndef NULLGRAPHICVIEW_H
#define NULLGRAPHICVIEW_H

#include "gui/graphicview.h"
#include "null_graphicpainter.h"

namespace nullgui
{
    /**
    *   NULL event -> GraphicView on Event
    *      GraphicView -> NULL impl
    */

    class GraphicViewNULL : public gui::GraphicView
    {

        public:
            static GraphicViewNULL* GraphicViewNULL::create();

            virtual ~GraphicViewNULL();

            /** This virtual method must be overwritten to return
              the width of the widget the graphic is shown in */
            virtual int getWidth();
            /** This virtual method must be overwritten to return
              the height of the widget the graphic is shown in */
            virtual int getHeight();
            /** This virtual method must be overwritten to redraw
              the widget. */
            virtual void redraw();

        protected:
            GraphicViewNULL();

        private:

            GraphicPainterNULL* painternull;


    };

}
#endif // NULLGRAPHICVIEW_H
